'''
Created on Jun 25, 2013

@author: EvanKleiner
'''

import random
import math

class Vertex(object):
    def __init__(self):
        self.x = random.randint(0, 1000)
        self.y = random.randint(0, 1000)


#########################################################################
#Lets have both v1 and v2 be Vertex objects ehh?
def dist(v1, v2):
    x2 = math.pow((v1.x - v2.x), 2)    
    y2 = math.pow((v1.y - v2.y), 2)
    return(math.sqrt(x2 + y2))    